package com.example.exampleproject.service.impl;

import com.example.exampleproject.entity.EmploymentIndustryEntity2;
import com.example.exampleproject.mapper.EmploymentIndustryMapper2;
import com.example.exampleproject.service.EmploymentIndustryService2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class EmploymentIndustryServiceImpl2 implements EmploymentIndustryService2 {

    @Autowired
    EmploymentIndustryMapper2 mapper;

    @Override
    public List<EmploymentIndustryEntity2> getEmploymentIndustryByYear(Integer year) {
        return mapper.getEmploymentIndustryByYear(year);
    }
}
